import React from 'react'
import homeStyle from '../assets/css/home.module.scss'
import {Outlet} from 'react-router-dom'
import {Layout} from 'antd'
import SysMenus from './SysMenus'

const {Header,Sider,Content,Footer}=Layout

export default function Home() {
  return (
    <>
      <Layout>
          <Header>
            <div className={homeStyle.logo}>蜗牛BOSS管理系统</div>
          </Header>  
          <Layout style={{height:'750px'}}>
              <Sider>
                <SysMenus></SysMenus>
              </Sider>
              <Content>
                  <Outlet></Outlet>
              </Content>
          </Layout>
          <Footer style={{ textAlign: 'center'}}>Ant Design ©2023 Created by Ant UED</Footer>
      </Layout> 
    </>
  )
}
